#ifndef MOVEABILITYVISITOR_H
#define MOVEABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "MoveAbility.h"

class MoveAbilityVisitor: public GameAbilityVisitor
{
public:
	MoveAbilityVisitor();
	virtual ~MoveAbilityVisitor();

	virtual void Visit(MoveAbility& ability);

	void Clear();
	bool FoundAbility() const;
	Movable* MovableInterface() const;

protected:
private:
	bool found;
	Movable* movableInterface;
};

#endif //MOVEABILITYVISITOR_H
